# 平台名为NES的下一步应该寻求哪十个发行商合作

import pandas as pd
import numpy as np
from matplotlib import pyplot as plt

data = pd.read_csv('../bysj/data/电子游戏销量数据集.csv')
data.drop_duplicates(inplace=True)
Platform_data = data.groupby(by=['Publisher'])[['NA_Sales', 'EU_Sales', 'JP_Sales', 'Other_Sales','Global_Sales']].sum()
Platform_data.sort_values(by=['Global_Sales'],inplace=True, ascending=False)
print(Platform_data.head(10).to_string())